package net.cyl.annotation;

import java.lang.annotation.*;
/**
 * @author: cyl
 * @date: 2025/5/21 16:30
 * @description: 防止重复提交注解
 */


@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RepeatSubmit {


    enum Type{PARAM,TOKEN}

    Type limitType() default Type.PARAM;

    long lockTime() default 5;
}
